package com.go.where.manager.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.go.where.manager.dao.AccountRelationDao;
import com.go.where.manager.pojo.AccountRelationInfo;

@Repository("accountRelationDao")
public class AccountRelationDaoImpl extends BaseDaoImpl<AccountRelationInfo> 
			implements AccountRelationDao {

	@Override
	protected String getNameSpace() {
		return "mybatis.xml.AccountRelationMapper";
	}

	@Override
	public List<AccountRelationInfo> queryByCustomerId(String customerId) {
		return getSqlSession().selectList(getNameSpace()+".queryByCustomerId", customerId);
	}

}
